package com.admin.service;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.admin.bean.AdminStatFeeBean;
import com.admin.dao.AdminStatFeeDao;

@Service("adminStatFeeService")
public class AdminStatFeeService {

	@Autowired private AdminStatFeeDao adminStatFeeDao;
	
	public List<AdminStatFeeBean> findStatByCondition(String condition){
		try {
			return adminStatFeeDao.findStatByCondition(condition);
		} catch (Exception e) {
			// TODO: handle exception
			return new ArrayList<AdminStatFeeBean>();
		} finally {

		}
	}
	
	
	public List<AdminStatFeeBean> findHourStatByCondition(String condition){
		try {
			return adminStatFeeDao.findHourStatByCondition(condition);
		} catch (Exception e) {
			// TODO: handle exception
			return new ArrayList<AdminStatFeeBean>();
		} finally {

		}
	}
	
}
